<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>答题</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/public.css">
    <link rel="stylesheet" href="./layer/theme/default/layerui.css">
    <script src="js/jquery.js"></script>
    <script src="js/template/template-web.js"></script>
    <script src="js/header.js"></script>
    <script src="js/commit.js"></script>
</head>
<body>
<div class="free_box">
    <div class="info_table" id="table">
        <script type="text/html" id="tableTpl">
            <table class="layui-table" lay-even="" lay-skin="row" id="pjax-container">
                <colgroup>
                    <col width="150">
                    <col>
                </colgroup>
                <thead>
                <tr>
                    <th>列表</th>
                </tr>
                </thead>
                <tbody>
                {{each res as item index}}
                <tr>
                    <td><a href="./answerinfo.html?id={{item.id}}&curId={{item.curId}}">{{item.name}}</td>
                </tr>
                {{/each}}
                </tbody>
            </table>
        </script>
    </div>
</div>


<script src="https://cdn.bootcdn.net/ajax/libs/jquery.pjax/2.0.1/jquery.pjax.js"></script>

<script>

    $(document).pjax('a', '#pjax-container')
</script>

<script src="js/answers.js"></script>
</body>
</html>